<!DOCTYPE html>
<html lang="en" ng-app="">
<head>
    <meta charset="UTF-8">
    <title>格式化</title>
    <script src="js/angular-1.3.0.js"></script>
</head>
<body>
    <div ng-controller="contr">
        <!-- 小数位数 -->
        数字格式化:{{number | number : 0}}
        <br>
        金额格式化：{{money | currency}}
        <br>
        小写转换：{{str1 | lowercase}}
        <br>
        大写转换：{{str2 | uppercase}}
    </div>
<script tyte="text/javascript">
    function contr($scope){
        $scope.number = 2345.67;
        $scope.money = 2345.67;
        $scope.str1 = "ADSSfa";
        $scope.str2 = "wererANa";
    }
</script>
</body>
</html>